const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  currentUserId: state => state.user.currentUserId,
  name: state => state.user.name,
  fileDomain: state => state.user.fileDomain,
  fileBucket: state => state.user.fileBucket,
  headImg: state => state.user.headImg,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes,
  operateMap: state => state.permission.operateMap,
  errorLogs: state => state.errorLog.logs,
  moduleMessageEnable: state => state.baseConfig.moduleMessageEnable,
  moduleEnableReport: state => state.baseConfig.moduleEnableReport,
  moduleEnableDetection: state => state.baseConfig.moduleEnableDetection,
  moduleEnableSample: state => state.baseConfig.moduleEnableSample,
  moduleEnableEntrust: state => state.baseConfig.moduleEnableEntrust,
  firstLoginStatus: state => state.user.firstLoginStatus
}
export default getters
